#!/bin/sh

uci -q batch <<-EOF >/dev/null
	delete ucitrack.@firmware[-1]
	add ucitrack firmware
	set ucitrack.@firmware[-1].init=firmware
	commit ucitrack
EOF

rm -f /tmp/luci-indexcache

/etc/init.d/firmware enable >/dev/null 2>&1

exit 0
